package com.scrx.ymg.entity;
// default package

import java.util.List;


/**
 * OrderForm entity. @author MyEclipse Persistence Tools
 */

public class OrderForm  implements java.io.Serializable {


    // Fields    

     private String orderFormId;
     private Integer userId;
     private Integer superId;
     private Integer id;
     private Double shippingFee;
     private Double totalMoney;
     private String orderFormTime;
     private String userName;
     private String address;
     private String phone;
     private Integer paymentType;
     private Integer status;
     private Integer inactive1;
     private String inactive2;//超市名称
     private String inactive3;
     private Integer returnCause;
     private String remark;
     private Integer typeId;
     private Integer agentId;
     private List<OrderFormDetails>  OrderFormDetails;
     private OrderReturn  oreturn; 
     private String code;
     private String trackingNum;
     private Integer parent;
     private String prepayId;

    // Constructors

    /** default constructor */
    public OrderForm() {
    }

	/** minimal constructor */
    public OrderForm(Integer userId, Integer superId, Integer id, Double totalMoney, String orderFormTime, String userName, String address, String phone, Integer paymentType, Integer status) {
        this.userId = userId;
        this.superId = superId;
        this.id = id;
        this.totalMoney = totalMoney;
        this.orderFormTime = orderFormTime;
        this.userName = userName;
        this.address = address;
        this.phone = phone;
        this.paymentType = paymentType;
        this.status = status;
    }
    
    /** full constructor */
    public OrderForm(Integer userId, Integer superId, Integer id, Double shippingFee, Double totalMoney, String orderFormTime, String userName, String address, String phone, Integer paymentType, Integer status, Integer inactive1, String inactive2, String inactive3) {
        this.userId = userId;
        this.superId = superId;
        this.id = id;
        this.shippingFee = shippingFee;
        this.totalMoney = totalMoney;
        this.orderFormTime = orderFormTime;
        this.userName = userName;
        this.address = address;
        this.phone = phone;
        this.paymentType = paymentType;
        this.status = status;
        this.inactive1 = inactive1;
        this.inactive2 = inactive2;
        this.inactive3 = inactive3;

    }

   
    // Property accessors
    

    public String getOrderFormId() {
        return this.orderFormId;
    }
    
    public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public void setOrderFormId(String orderFormId) {
        this.orderFormId = orderFormId;
    }

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Double getShippingFee() {
        return this.shippingFee;
    }
    
    public void setShippingFee(Double shippingFee) {
        this.shippingFee = shippingFee;
    }

    public Double getTotalMoney() {
        return this.totalMoney;
    }
    
    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getOrderFormTime() {
        return this.orderFormTime;
    }
    
    public void setOrderFormTime(String orderFormTime) {
        this.orderFormTime = orderFormTime;
    }

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getPaymentType() {
        return this.paymentType;
    }
    
    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getInactive1() {
        return this.inactive1;
    }
    
    public void setInactive1(Integer inactive1) {
        this.inactive1 = inactive1;
    }

    public String getInactive2() {
        return this.inactive2;
    }
    
    public void setInactive2(String inactive2) {
        this.inactive2 = inactive2;
    }

    public String getInactive3() {
        return this.inactive3;
    }
    
    public void setInactive3(String inactive3) {
        this.inactive3 = inactive3;
    }

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getSuperId() {
		return superId;
	}

	public void setSuperId(Integer superId) {
		this.superId = superId;
	}

	public List<OrderFormDetails> getOrderFormDetails() {
		return OrderFormDetails;
	}

	public void setOrderFormDetails(List<OrderFormDetails> orderFormDetails) {
		OrderFormDetails = orderFormDetails;
	}



	public Integer getReturnCause() {
		return returnCause;
	}

	public void setReturnCause(Integer returnCause) {
		this.returnCause = returnCause;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public OrderReturn getOreturn() {
		return oreturn;
	}

	public void setOreturn(OrderReturn oreturn) {
		this.oreturn = oreturn;
	}

	public Integer getAgentId() {
		return agentId;
	}

	public void setAgentId(Integer agentId) {
		this.agentId = agentId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTrackingNum() {
		return trackingNum;
	}

	public void setTrackingNum(String trackingNum) {
		this.trackingNum = trackingNum;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}
    
	
    
     








}